package com.example.mbl.service;

import com.example.mbl.entity.Event;
import com.example.mbl.result.PageResult;
import com.example.mbl.result.WebRestResult;
import com.example.mbl.result.business.EventPageResult;
import com.example.mbl.result.business.EventResult;

import java.util.List;

public interface EventService {
    List<Event> searchItemsByKeyWord(String keyword);
    WebRestResult addEVent(Event event);
    WebRestResult deleteEvent(Event event);
    WebRestResult updateEvent(Event event);
    WebRestResult setEventVisible(Event event);
    PageResult<EventPageResult> getEventList(String eventtitle,String eventdate,String eventtype,int page,int pagesize,String eventday);
    EventResult getEventItem(String eventid);
}
